package com.leesche.zcsp.node.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PubDevParamCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PubDevParamCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andParamidIsNull() {
            addCriterion("paramId is null");
            return (Criteria) this;
        }

        public Criteria andParamidIsNotNull() {
            addCriterion("paramId is not null");
            return (Criteria) this;
        }

        public Criteria andParamidEqualTo(Long value) {
            addCriterion("paramId =", value, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidNotEqualTo(Long value) {
            addCriterion("paramId <>", value, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidGreaterThan(Long value) {
            addCriterion("paramId >", value, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidGreaterThanOrEqualTo(Long value) {
            addCriterion("paramId >=", value, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidLessThan(Long value) {
            addCriterion("paramId <", value, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidLessThanOrEqualTo(Long value) {
            addCriterion("paramId <=", value, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidIn(List<Long> values) {
            addCriterion("paramId in", values, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidNotIn(List<Long> values) {
            addCriterion("paramId not in", values, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidBetween(Long value1, Long value2) {
            addCriterion("paramId between", value1, value2, "paramid");
            return (Criteria) this;
        }

        public Criteria andParamidNotBetween(Long value1, Long value2) {
            addCriterion("paramId not between", value1, value2, "paramid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNull() {
            addCriterion("DeviceID is null");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNotNull() {
            addCriterion("DeviceID is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceidEqualTo(Long value) {
            addCriterion("DeviceID =", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotEqualTo(Long value) {
            addCriterion("DeviceID <>", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThan(Long value) {
            addCriterion("DeviceID >", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThanOrEqualTo(Long value) {
            addCriterion("DeviceID >=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThan(Long value) {
            addCriterion("DeviceID <", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThanOrEqualTo(Long value) {
            addCriterion("DeviceID <=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIn(List<Long> values) {
            addCriterion("DeviceID in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotIn(List<Long> values) {
            addCriterion("DeviceID not in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidBetween(Long value1, Long value2) {
            addCriterion("DeviceID between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotBetween(Long value1, Long value2) {
            addCriterion("DeviceID not between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidIsNull() {
            addCriterion("DeviceTypeID is null");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidIsNotNull() {
            addCriterion("DeviceTypeID is not null");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidEqualTo(Long value) {
            addCriterion("DeviceTypeID =", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidNotEqualTo(Long value) {
            addCriterion("DeviceTypeID <>", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidGreaterThan(Long value) {
            addCriterion("DeviceTypeID >", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidGreaterThanOrEqualTo(Long value) {
            addCriterion("DeviceTypeID >=", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidLessThan(Long value) {
            addCriterion("DeviceTypeID <", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidLessThanOrEqualTo(Long value) {
            addCriterion("DeviceTypeID <=", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidIn(List<Long> values) {
            addCriterion("DeviceTypeID in", values, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidNotIn(List<Long> values) {
            addCriterion("DeviceTypeID not in", values, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidBetween(Long value1, Long value2) {
            addCriterion("DeviceTypeID between", value1, value2, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidNotBetween(Long value1, Long value2) {
            addCriterion("DeviceTypeID not between", value1, value2, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andParam1IsNull() {
            addCriterion("param1 is null");
            return (Criteria) this;
        }

        public Criteria andParam1IsNotNull() {
            addCriterion("param1 is not null");
            return (Criteria) this;
        }

        public Criteria andParam1EqualTo(Integer value) {
            addCriterion("param1 =", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotEqualTo(Integer value) {
            addCriterion("param1 <>", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThan(Integer value) {
            addCriterion("param1 >", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThanOrEqualTo(Integer value) {
            addCriterion("param1 >=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThan(Integer value) {
            addCriterion("param1 <", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThanOrEqualTo(Integer value) {
            addCriterion("param1 <=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1In(List<Integer> values) {
            addCriterion("param1 in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotIn(List<Integer> values) {
            addCriterion("param1 not in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Between(Integer value1, Integer value2) {
            addCriterion("param1 between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotBetween(Integer value1, Integer value2) {
            addCriterion("param1 not between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam2IsNull() {
            addCriterion("param2 is null");
            return (Criteria) this;
        }

        public Criteria andParam2IsNotNull() {
            addCriterion("param2 is not null");
            return (Criteria) this;
        }

        public Criteria andParam2EqualTo(Integer value) {
            addCriterion("param2 =", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotEqualTo(Integer value) {
            addCriterion("param2 <>", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThan(Integer value) {
            addCriterion("param2 >", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThanOrEqualTo(Integer value) {
            addCriterion("param2 >=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThan(Integer value) {
            addCriterion("param2 <", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThanOrEqualTo(Integer value) {
            addCriterion("param2 <=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2In(List<Integer> values) {
            addCriterion("param2 in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotIn(List<Integer> values) {
            addCriterion("param2 not in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Between(Integer value1, Integer value2) {
            addCriterion("param2 between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotBetween(Integer value1, Integer value2) {
            addCriterion("param2 not between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam3IsNull() {
            addCriterion("param3 is null");
            return (Criteria) this;
        }

        public Criteria andParam3IsNotNull() {
            addCriterion("param3 is not null");
            return (Criteria) this;
        }

        public Criteria andParam3EqualTo(Integer value) {
            addCriterion("param3 =", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotEqualTo(Integer value) {
            addCriterion("param3 <>", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3GreaterThan(Integer value) {
            addCriterion("param3 >", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3GreaterThanOrEqualTo(Integer value) {
            addCriterion("param3 >=", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3LessThan(Integer value) {
            addCriterion("param3 <", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3LessThanOrEqualTo(Integer value) {
            addCriterion("param3 <=", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3In(List<Integer> values) {
            addCriterion("param3 in", values, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotIn(List<Integer> values) {
            addCriterion("param3 not in", values, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3Between(Integer value1, Integer value2) {
            addCriterion("param3 between", value1, value2, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotBetween(Integer value1, Integer value2) {
            addCriterion("param3 not between", value1, value2, "param3");
            return (Criteria) this;
        }

        public Criteria andParam4IsNull() {
            addCriterion("param4 is null");
            return (Criteria) this;
        }

        public Criteria andParam4IsNotNull() {
            addCriterion("param4 is not null");
            return (Criteria) this;
        }

        public Criteria andParam4EqualTo(Integer value) {
            addCriterion("param4 =", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotEqualTo(Integer value) {
            addCriterion("param4 <>", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4GreaterThan(Integer value) {
            addCriterion("param4 >", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4GreaterThanOrEqualTo(Integer value) {
            addCriterion("param4 >=", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4LessThan(Integer value) {
            addCriterion("param4 <", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4LessThanOrEqualTo(Integer value) {
            addCriterion("param4 <=", value, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4In(List<Integer> values) {
            addCriterion("param4 in", values, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotIn(List<Integer> values) {
            addCriterion("param4 not in", values, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4Between(Integer value1, Integer value2) {
            addCriterion("param4 between", value1, value2, "param4");
            return (Criteria) this;
        }

        public Criteria andParam4NotBetween(Integer value1, Integer value2) {
            addCriterion("param4 not between", value1, value2, "param4");
            return (Criteria) this;
        }

        public Criteria andParam5IsNull() {
            addCriterion("param5 is null");
            return (Criteria) this;
        }

        public Criteria andParam5IsNotNull() {
            addCriterion("param5 is not null");
            return (Criteria) this;
        }

        public Criteria andParam5EqualTo(Integer value) {
            addCriterion("param5 =", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotEqualTo(Integer value) {
            addCriterion("param5 <>", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5GreaterThan(Integer value) {
            addCriterion("param5 >", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5GreaterThanOrEqualTo(Integer value) {
            addCriterion("param5 >=", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5LessThan(Integer value) {
            addCriterion("param5 <", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5LessThanOrEqualTo(Integer value) {
            addCriterion("param5 <=", value, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5In(List<Integer> values) {
            addCriterion("param5 in", values, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotIn(List<Integer> values) {
            addCriterion("param5 not in", values, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5Between(Integer value1, Integer value2) {
            addCriterion("param5 between", value1, value2, "param5");
            return (Criteria) this;
        }

        public Criteria andParam5NotBetween(Integer value1, Integer value2) {
            addCriterion("param5 not between", value1, value2, "param5");
            return (Criteria) this;
        }

        public Criteria andParam6IsNull() {
            addCriterion("param6 is null");
            return (Criteria) this;
        }

        public Criteria andParam6IsNotNull() {
            addCriterion("param6 is not null");
            return (Criteria) this;
        }

        public Criteria andParam6EqualTo(Integer value) {
            addCriterion("param6 =", value, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6NotEqualTo(Integer value) {
            addCriterion("param6 <>", value, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6GreaterThan(Integer value) {
            addCriterion("param6 >", value, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6GreaterThanOrEqualTo(Integer value) {
            addCriterion("param6 >=", value, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6LessThan(Integer value) {
            addCriterion("param6 <", value, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6LessThanOrEqualTo(Integer value) {
            addCriterion("param6 <=", value, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6In(List<Integer> values) {
            addCriterion("param6 in", values, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6NotIn(List<Integer> values) {
            addCriterion("param6 not in", values, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6Between(Integer value1, Integer value2) {
            addCriterion("param6 between", value1, value2, "param6");
            return (Criteria) this;
        }

        public Criteria andParam6NotBetween(Integer value1, Integer value2) {
            addCriterion("param6 not between", value1, value2, "param6");
            return (Criteria) this;
        }

        public Criteria andParam7IsNull() {
            addCriterion("param7 is null");
            return (Criteria) this;
        }

        public Criteria andParam7IsNotNull() {
            addCriterion("param7 is not null");
            return (Criteria) this;
        }

        public Criteria andParam7EqualTo(Integer value) {
            addCriterion("param7 =", value, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7NotEqualTo(Integer value) {
            addCriterion("param7 <>", value, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7GreaterThan(Integer value) {
            addCriterion("param7 >", value, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7GreaterThanOrEqualTo(Integer value) {
            addCriterion("param7 >=", value, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7LessThan(Integer value) {
            addCriterion("param7 <", value, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7LessThanOrEqualTo(Integer value) {
            addCriterion("param7 <=", value, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7In(List<Integer> values) {
            addCriterion("param7 in", values, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7NotIn(List<Integer> values) {
            addCriterion("param7 not in", values, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7Between(Integer value1, Integer value2) {
            addCriterion("param7 between", value1, value2, "param7");
            return (Criteria) this;
        }

        public Criteria andParam7NotBetween(Integer value1, Integer value2) {
            addCriterion("param7 not between", value1, value2, "param7");
            return (Criteria) this;
        }

        public Criteria andParam8IsNull() {
            addCriterion("param8 is null");
            return (Criteria) this;
        }

        public Criteria andParam8IsNotNull() {
            addCriterion("param8 is not null");
            return (Criteria) this;
        }

        public Criteria andParam8EqualTo(Integer value) {
            addCriterion("param8 =", value, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8NotEqualTo(Integer value) {
            addCriterion("param8 <>", value, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8GreaterThan(Integer value) {
            addCriterion("param8 >", value, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8GreaterThanOrEqualTo(Integer value) {
            addCriterion("param8 >=", value, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8LessThan(Integer value) {
            addCriterion("param8 <", value, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8LessThanOrEqualTo(Integer value) {
            addCriterion("param8 <=", value, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8In(List<Integer> values) {
            addCriterion("param8 in", values, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8NotIn(List<Integer> values) {
            addCriterion("param8 not in", values, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8Between(Integer value1, Integer value2) {
            addCriterion("param8 between", value1, value2, "param8");
            return (Criteria) this;
        }

        public Criteria andParam8NotBetween(Integer value1, Integer value2) {
            addCriterion("param8 not between", value1, value2, "param8");
            return (Criteria) this;
        }

        public Criteria andParam9IsNull() {
            addCriterion("param9 is null");
            return (Criteria) this;
        }

        public Criteria andParam9IsNotNull() {
            addCriterion("param9 is not null");
            return (Criteria) this;
        }

        public Criteria andParam9EqualTo(Integer value) {
            addCriterion("param9 =", value, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9NotEqualTo(Integer value) {
            addCriterion("param9 <>", value, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9GreaterThan(Integer value) {
            addCriterion("param9 >", value, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9GreaterThanOrEqualTo(Integer value) {
            addCriterion("param9 >=", value, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9LessThan(Integer value) {
            addCriterion("param9 <", value, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9LessThanOrEqualTo(Integer value) {
            addCriterion("param9 <=", value, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9In(List<Integer> values) {
            addCriterion("param9 in", values, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9NotIn(List<Integer> values) {
            addCriterion("param9 not in", values, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9Between(Integer value1, Integer value2) {
            addCriterion("param9 between", value1, value2, "param9");
            return (Criteria) this;
        }

        public Criteria andParam9NotBetween(Integer value1, Integer value2) {
            addCriterion("param9 not between", value1, value2, "param9");
            return (Criteria) this;
        }

        public Criteria andParam10IsNull() {
            addCriterion("param10 is null");
            return (Criteria) this;
        }

        public Criteria andParam10IsNotNull() {
            addCriterion("param10 is not null");
            return (Criteria) this;
        }

        public Criteria andParam10EqualTo(Integer value) {
            addCriterion("param10 =", value, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10NotEqualTo(Integer value) {
            addCriterion("param10 <>", value, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10GreaterThan(Integer value) {
            addCriterion("param10 >", value, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10GreaterThanOrEqualTo(Integer value) {
            addCriterion("param10 >=", value, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10LessThan(Integer value) {
            addCriterion("param10 <", value, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10LessThanOrEqualTo(Integer value) {
            addCriterion("param10 <=", value, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10In(List<Integer> values) {
            addCriterion("param10 in", values, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10NotIn(List<Integer> values) {
            addCriterion("param10 not in", values, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10Between(Integer value1, Integer value2) {
            addCriterion("param10 between", value1, value2, "param10");
            return (Criteria) this;
        }

        public Criteria andParam10NotBetween(Integer value1, Integer value2) {
            addCriterion("param10 not between", value1, value2, "param10");
            return (Criteria) this;
        }

        public Criteria andParam11IsNull() {
            addCriterion("param11 is null");
            return (Criteria) this;
        }

        public Criteria andParam11IsNotNull() {
            addCriterion("param11 is not null");
            return (Criteria) this;
        }

        public Criteria andParam11EqualTo(Integer value) {
            addCriterion("param11 =", value, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11NotEqualTo(Integer value) {
            addCriterion("param11 <>", value, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11GreaterThan(Integer value) {
            addCriterion("param11 >", value, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11GreaterThanOrEqualTo(Integer value) {
            addCriterion("param11 >=", value, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11LessThan(Integer value) {
            addCriterion("param11 <", value, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11LessThanOrEqualTo(Integer value) {
            addCriterion("param11 <=", value, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11In(List<Integer> values) {
            addCriterion("param11 in", values, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11NotIn(List<Integer> values) {
            addCriterion("param11 not in", values, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11Between(Integer value1, Integer value2) {
            addCriterion("param11 between", value1, value2, "param11");
            return (Criteria) this;
        }

        public Criteria andParam11NotBetween(Integer value1, Integer value2) {
            addCriterion("param11 not between", value1, value2, "param11");
            return (Criteria) this;
        }

        public Criteria andParam12IsNull() {
            addCriterion("param12 is null");
            return (Criteria) this;
        }

        public Criteria andParam12IsNotNull() {
            addCriterion("param12 is not null");
            return (Criteria) this;
        }

        public Criteria andParam12EqualTo(Integer value) {
            addCriterion("param12 =", value, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12NotEqualTo(Integer value) {
            addCriterion("param12 <>", value, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12GreaterThan(Integer value) {
            addCriterion("param12 >", value, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12GreaterThanOrEqualTo(Integer value) {
            addCriterion("param12 >=", value, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12LessThan(Integer value) {
            addCriterion("param12 <", value, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12LessThanOrEqualTo(Integer value) {
            addCriterion("param12 <=", value, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12In(List<Integer> values) {
            addCriterion("param12 in", values, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12NotIn(List<Integer> values) {
            addCriterion("param12 not in", values, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12Between(Integer value1, Integer value2) {
            addCriterion("param12 between", value1, value2, "param12");
            return (Criteria) this;
        }

        public Criteria andParam12NotBetween(Integer value1, Integer value2) {
            addCriterion("param12 not between", value1, value2, "param12");
            return (Criteria) this;
        }

        public Criteria andParam13IsNull() {
            addCriterion("param13 is null");
            return (Criteria) this;
        }

        public Criteria andParam13IsNotNull() {
            addCriterion("param13 is not null");
            return (Criteria) this;
        }

        public Criteria andParam13EqualTo(String value) {
            addCriterion("param13 =", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13NotEqualTo(String value) {
            addCriterion("param13 <>", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13GreaterThan(String value) {
            addCriterion("param13 >", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13GreaterThanOrEqualTo(String value) {
            addCriterion("param13 >=", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13LessThan(String value) {
            addCriterion("param13 <", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13LessThanOrEqualTo(String value) {
            addCriterion("param13 <=", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13Like(String value) {
            addCriterion("param13 like", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13NotLike(String value) {
            addCriterion("param13 not like", value, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13In(List<String> values) {
            addCriterion("param13 in", values, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13NotIn(List<String> values) {
            addCriterion("param13 not in", values, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13Between(String value1, String value2) {
            addCriterion("param13 between", value1, value2, "param13");
            return (Criteria) this;
        }

        public Criteria andParam13NotBetween(String value1, String value2) {
            addCriterion("param13 not between", value1, value2, "param13");
            return (Criteria) this;
        }

        public Criteria andParam14IsNull() {
            addCriterion("param14 is null");
            return (Criteria) this;
        }

        public Criteria andParam14IsNotNull() {
            addCriterion("param14 is not null");
            return (Criteria) this;
        }

        public Criteria andParam14EqualTo(String value) {
            addCriterion("param14 =", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14NotEqualTo(String value) {
            addCriterion("param14 <>", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14GreaterThan(String value) {
            addCriterion("param14 >", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14GreaterThanOrEqualTo(String value) {
            addCriterion("param14 >=", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14LessThan(String value) {
            addCriterion("param14 <", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14LessThanOrEqualTo(String value) {
            addCriterion("param14 <=", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14Like(String value) {
            addCriterion("param14 like", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14NotLike(String value) {
            addCriterion("param14 not like", value, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14In(List<String> values) {
            addCriterion("param14 in", values, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14NotIn(List<String> values) {
            addCriterion("param14 not in", values, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14Between(String value1, String value2) {
            addCriterion("param14 between", value1, value2, "param14");
            return (Criteria) this;
        }

        public Criteria andParam14NotBetween(String value1, String value2) {
            addCriterion("param14 not between", value1, value2, "param14");
            return (Criteria) this;
        }

        public Criteria andParam15IsNull() {
            addCriterion("param15 is null");
            return (Criteria) this;
        }

        public Criteria andParam15IsNotNull() {
            addCriterion("param15 is not null");
            return (Criteria) this;
        }

        public Criteria andParam15EqualTo(String value) {
            addCriterion("param15 =", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15NotEqualTo(String value) {
            addCriterion("param15 <>", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15GreaterThan(String value) {
            addCriterion("param15 >", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15GreaterThanOrEqualTo(String value) {
            addCriterion("param15 >=", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15LessThan(String value) {
            addCriterion("param15 <", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15LessThanOrEqualTo(String value) {
            addCriterion("param15 <=", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15Like(String value) {
            addCriterion("param15 like", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15NotLike(String value) {
            addCriterion("param15 not like", value, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15In(List<String> values) {
            addCriterion("param15 in", values, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15NotIn(List<String> values) {
            addCriterion("param15 not in", values, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15Between(String value1, String value2) {
            addCriterion("param15 between", value1, value2, "param15");
            return (Criteria) this;
        }

        public Criteria andParam15NotBetween(String value1, String value2) {
            addCriterion("param15 not between", value1, value2, "param15");
            return (Criteria) this;
        }

        public Criteria andParam16IsNull() {
            addCriterion("param16 is null");
            return (Criteria) this;
        }

        public Criteria andParam16IsNotNull() {
            addCriterion("param16 is not null");
            return (Criteria) this;
        }

        public Criteria andParam16EqualTo(String value) {
            addCriterion("param16 =", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16NotEqualTo(String value) {
            addCriterion("param16 <>", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16GreaterThan(String value) {
            addCriterion("param16 >", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16GreaterThanOrEqualTo(String value) {
            addCriterion("param16 >=", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16LessThan(String value) {
            addCriterion("param16 <", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16LessThanOrEqualTo(String value) {
            addCriterion("param16 <=", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16Like(String value) {
            addCriterion("param16 like", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16NotLike(String value) {
            addCriterion("param16 not like", value, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16In(List<String> values) {
            addCriterion("param16 in", values, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16NotIn(List<String> values) {
            addCriterion("param16 not in", values, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16Between(String value1, String value2) {
            addCriterion("param16 between", value1, value2, "param16");
            return (Criteria) this;
        }

        public Criteria andParam16NotBetween(String value1, String value2) {
            addCriterion("param16 not between", value1, value2, "param16");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNull() {
            addCriterion("AdminID is null");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNotNull() {
            addCriterion("AdminID is not null");
            return (Criteria) this;
        }

        public Criteria andAdminidEqualTo(Long value) {
            addCriterion("AdminID =", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotEqualTo(Long value) {
            addCriterion("AdminID <>", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThan(Long value) {
            addCriterion("AdminID >", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThanOrEqualTo(Long value) {
            addCriterion("AdminID >=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThan(Long value) {
            addCriterion("AdminID <", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThanOrEqualTo(Long value) {
            addCriterion("AdminID <=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidIn(List<Long> values) {
            addCriterion("AdminID in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotIn(List<Long> values) {
            addCriterion("AdminID not in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidBetween(Long value1, Long value2) {
            addCriterion("AdminID between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotBetween(Long value1, Long value2) {
            addCriterion("AdminID not between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}